//
//  WMCroppingAlertView.swift
//  deWaterMarkingProject
//
//  Created by admin on 2025/9/11.
//

import UIKit

class WMCroppingAlertView: UIView {

    var lookBlock: (()->Void)?
    var tryBlock: (()->Void)?
    
    @IBOutlet weak var contentLabel: UILabel!
    

    @IBAction func closeBtnClickAction(_ sender: Any) {
        self.removeFromSuperview()
    }
    
    @IBAction func lookBtnClickAction(_ sender: Any) {
        if((lookBlock) != nil){
            lookBlock!()
        }
    }
    
    @IBAction func tryBtnClickAction(_ sender: Any) {
        if((tryBlock) != nil){
            tryBlock!()
        }
    }
    
    @IBAction func noTipBtnClickAction(_ sender: Any) {
        self.removeFromSuperview()
        UserDefaults.standard.setValue(true, forKey: UserDefaultsKey.fixBulletFrame)
    }
    
}
